#include <BustaModelChef.h>
Public Member Functions | |
BustaModelChef () | |
Constructor. | |
~BustaModelChef () | |
Destructor. | |
int | getHealth () |
Gets Chef's Health. | |
int | getMaxHealth () |
Gets Chef's Health. | |
void | setHealth (int h) |
Sets Chef's health. | |
void | addHealth (int h) |
Adds to Chef's health. | |
void | subtractHealth (int h) |
Adds to Chef's health. | |
BustaModelCharacter | getCharacter () |
Return's character selected. | |
void | setCharacter (BustaModelCharacter c) |
sets character |
Model representing the chef, includes health of chef
|
Constructor. Initializes variables |
|
Destructor. Destructor |
|
Adds to Chef's health. Adds specified amount the current health of the chef |
|
Return's character selected. Returns the character that represents this chef |
|
Gets Chef's Health. Gets the current health of the chef |
|
Gets Chef's Health. Gets the maximum health possible |
|
sets character Sets the character that represents this chef |
|
Sets Chef's health. Sets the current health of the chef |
|
Adds to Chef's health. Subtracts specified amount the current health of the chef. If health <= 0, sets health to zero and marks chef as dead |